/*
 * File.c
 *
 *  Created on: 14/11/2011
 *      Author: marcio
 */

#include "File.h"

File* file_open(char* name , filepermission permission){
	File* f = malloc(sizeof(file));
	return NULL;
}

int file_readInt(File* f){
	//TODO
	return 0;
}

double file_readDouble(File* f){
	//TODO
	return 0.0;
}

char file_readChar(File* f){
	//TODO
	return 's';
}

char* file_readString(File* f, int size){
	//TODO
	return NULL;
}

void* file_readBytes(File* f, int size){
	//TODO
	return NULL;
}

int file_writeInt(File* f, int data){
	//TODO
	return 0;
}

int file_writeDouble(File* f, double data){
	//TODO
	return 0;
}

int file_writeChar(File* f, char data){
	//TODO
	return 0;
}

int file_writeString(File* f, int size, char* data){
	//TODO
	return 0;
}

int file_writeBytes(File* f, int size , void* data){
	//TODO
	return 0;
}

int file_rewind(File* f){
	//TODO
	return 0;
}

int file_close(File* f){
	//TODO
	return 0;
}

int file_delete(File* f){
	//TODO
	return 0;
}
